﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Ser_PhoneCallCollection : List<Ser_PhoneCall>
    {
         public int IndexOf(Ser_PhoneCall item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Ser_PhoneCall item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Ser_PhoneCall this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Ser_PhoneCall item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Ser_PhoneCall item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Ser_PhoneCall[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Ser_PhoneCall item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Ser_PhoneCall> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Ser_PhoneCall
    {
        private int _IdPhone;

        public int IdPhone
        {
            get { return _IdPhone; }
            set { _IdPhone = value; }
        }
        private string _PhoneCode;

        public string PhoneCode
        {
            get { return _PhoneCode; }
            set { _PhoneCode = value; }
        }
        private int _IdRoom;

        public int IdRoom
        {
            get { return _IdRoom; }
            set { _IdRoom = value; }
        }
        private int _IdRate;

        public int IdRate
        {
            get { return _IdRate; }
            set { _IdRate = value; }
        }
        private string _NumberOut;

        public string NumberOut
        {
            get { return _NumberOut; }
            set { _NumberOut = value; }
        }
        private int _Time;

        public int Time
        {
            get { return _Time; }
            set { _Time = value; }
        }
        private double _Price;

        public double Price
        {
            get { return _Price; }
            set { _Price = value; }
        }
        private DateTime _Date;

        public DateTime Date
        {
            get { return _Date; }
            set { _Date = value; }
        }
        private Boolean _IsPay;

        public Boolean IsPay
        {
            get { return _IsPay; }
            set { _IsPay = value; }
        }
        private DateTime _UpdateDate;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
    }
}
